package com.wmjsoft.plugins.security.base

import org.nutz.dao.entity.annotation.ColDefine
import org.nutz.dao.entity.annotation.Column

abstract class BaseTreeModel<T: Any,TREE:Any>:MyBaseTreeService<T, TREE>()  {

    @Column
    @ColDefine(notNull = true)
    var parentId: Long? = null

    @Column
    @ColDefine(notNull = true, width = 1024)
    var path:String? = null

    @Column
    @ColDefine(notNull = true)
    var lay:Int? = null

    @Column
    @ColDefine(notNull = true)
    var hasChild:Int? = null
}